package com.example.homeworkmanagement.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "教学_课程_教师_班级DTO", description = "用于学生端教学信息的显示")
public class CoursesAndTeachesAndTeachersAndClasssesDTO {
    //courses表
    //两表关联
    @ApiModelProperty(value = "课程id，也是课程序列号")
    private String courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程所属院系")
    private String department;

    @ApiModelProperty(value = "课程学分")
    private Double courseCredits;

    @ApiModelProperty(value = "课程描述")
    private String courseDescription;

    @ApiModelProperty(value = "教授课程id")
    private Integer teachId;

    //teaches表
    //两表关联
    @ApiModelProperty(value = "教授课程的老师id")
    private String teacherId;

    @ApiModelProperty(value = "教授的多个学生班级id")
    private String classIds;

    //teachers表
    @ApiModelProperty(value = "教师名称")
    private String teacherName;

    //classes表
    @ApiModelProperty(value = "教授的多个学生班级名称")
    private String classNames;
}
